package com.platform.consumer;

import org.springframework.amqp.core.Message;
import org.springframework.amqp.core.MessageListener;


public class RabbitmqConsumer  implements MessageListener {
    @Override
    public void onMessage(Message message) {
        System.out.print("Msg consumed:");
        System.out.println(Integer.valueOf(new String(message.getBody())));
    }

}
